package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.exceptions.BusinessException;
import com.itheima.pojo.Member;
import com.itheima.pojo.Template;

import java.util.List;

public interface TemplateService {

    PageResult findPage(int currentPage, int pageSize, String queryString);

    List<Template> findAll();

    void add(Template template) throws BusinessException;

    Template findById(int id);

    void update(Template template) throws BusinessException;

    void delete(int id);

    Member findMember(Long fileNumber);

    /*  List<Member> findMember();*/
}
